<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf1.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>Hello World!</h1>
<a th:href="@{/login}">登录页面</a>
<img th:src="@{/图片1.jpg}">

<div th:text="${name}"></div>
<table border="1">
    <tr>
        <td>用户id</td>
        <td>用户年龄</td>
        <td>用户姓名</td>
    </tr>
    <tr th:each="person:${personList}">
        <td th:text="${person.id}"></td>
        <td th:text="${person.age}"></td>
        <td th:text="${person.name}"></td>
    </tr>
</table>
</body>
</html>